import { ILocale} from "@/types/settings";

const zh: ILocale = {
    login: {
        title: "欢迎回来"
    },
    app: {
        title: "国际化与主题演示",
        description: "本应用展示了使用React、antd和TypeScript实现的动态国际化和主题切换功能。",
        greeting: (name: string) => `你好, ${name}!`,
    },
    settings: {
        title: "设置",
        language: "语言",
        theme: "主题",
        fontSize: "字体大小",
    },
    content: {
        title: "内容区域",
        text: "这是一段示例文本，用于演示国际化功能。这里的所有内容都可以被翻译。",
        featureTitle: "应用功能",
        features: [
            "动态主题切换",
            "多语言支持",
            "响应式设计",
            "可定制组件",
            "TypeScript类型支持"
        ],
        currentDate: (date: string) => `当前日期: ${date}`,
        userCount: (count: number) => `活跃用户: ${count}`
    },
    button: {
        save: "保存",
        cancel: "取消",
        confirm: "确认",
        moreInfo: "更多信息"
    },
    themeNames: {
        light: "浅色",
        dark: "深色",
        blue: "蓝色"
    }
};

export default zh;